package principle.facade;

/**
 * @author malguy-wang sir
 * @create ---
 */
public class theaterLight {//灯光
    //单例模式-饿汉式
    private static theaterLight instance = new theaterLight();
    public static theaterLight getInstance() { return instance; }
    public void on(){ System.out.println("theaterLight on"); }
    public void off(){ System.out.println("theaterLight off"); }
    public void dim(){ System.out.println("theaterLight dim"); }
    public void bright(){ System.out.println("theaterLight bright"); }
}
